package hcn.protocol.ods;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * Created by jinxin on 2015/12/11.
 */
@XmlRootElement(name = "office")
public class OfficePermissionBean implements Serializable{

    private static final long serialVersionUID = 2086420359337259902L;

    private String officeId;
    private String officeName;

    public OfficePermissionBean(){}

    public OfficePermissionBean(String officeId, String officeName) {
        this.officeId = officeId;
        this.officeName = officeName;
    }

    @XmlElement
    public String getOfficeId() {
        return officeId;
    }

    /**
     *
     * @param officeId 科室代码
     */
    public void setOfficeId(String officeId) {
        this.officeId = officeId;
    }

    @XmlElement
    public String getOfficeName() {
        return officeName;
    }

    /**
     *
     * @param officeName 科室名称
     */
    public void setOfficeName(String officeName) {
        this.officeName = officeName;
    }
}
